package com.wm.task.vo;

public class Movie {
    private Integer id;//ID
    private String title;//片名
    private String originalTitle;//原版片名
    private Integer releaseYear;//上映年份
    private Integer duration;//时长
    private String director;//导演
    private String language;//语言
    private String country;//国家
    private Float rating;//评分
    private Integer ratingCount;//评分人数
    private String plotSummary;//剧情简介
    private String type;//电影类型

    public Movie() {
    }

    public Movie(String title, Integer releaseYear) {
        this.title = title;
        this.releaseYear = releaseYear;
    }

    public Movie(Integer id, String title, String originalTitle,
                 Integer releaseYear, Integer duration, String director,
                 String language, String country, Float rating,
                 Integer ratingCount, String plotSummary, String type) {
        this.id = id;
        this.title = title;
        this.originalTitle = originalTitle;
        this.releaseYear = releaseYear;
        this.duration = duration;
        this.director = director;
        this.language = language;
        this.country = country;
        this.rating = rating;
        this.ratingCount = ratingCount;
        this.plotSummary = plotSummary;
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getOriginalTitle() {
        return originalTitle;
    }

    public void setOriginalTitle(String originalTitle) {
        this.originalTitle = originalTitle;
    }

    public Integer getReleaseYear() {
        return releaseYear;
    }

    public void setReleaseYear(Integer releaseYear) {
        this.releaseYear = releaseYear;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public Float getRating() {
        return rating;
    }

    public void setRating(Float rating) {
        this.rating = rating;
    }

    public Integer getRatingCount() {
        return ratingCount;
    }

    public void setRatingCount(Integer ratingCount) {
        this.ratingCount = ratingCount;
    }

    public String getPlotSummary() {
        return plotSummary;
    }

    public void setPlotSummary(String plotSummary) {
        this.plotSummary = plotSummary;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
